package com.alex.one.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author chenbin
 * @date 2019/10/15
 */
@TableName("t_order")
@Data
public class Order {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String orderNo;
    private BigDecimal totalAmount;
    private Integer status;
    private String customerName;
    private String customerPhone;
    private String customerAddress;
    private Date createTime;
    private Date updateTime;
}
